#modeltag({tagcode:"jxbrms_systemreportfieldinfo",id:params[0],type:"i"})
#switch (systemreportfieldinfo.field_type)
#case ("dictselect","tagselect","sqlselect")
#modeltag({tagcode:"jxbrms_systemdict_list",dicttypeId:"QUERY_TERM",where:"dict_code = '='",order:"level_code"})
#include("/common/layout/tag/select_layout.html",selectid="fieldTerm",selectdata=systemdict_list,dataid="dict_code",dataview="dict_name",selectext="style='display: none'")
#default
  #if (systemreportfieldinfo.field_type == "str" )
  #modeltag({tagcode:"jxbrms_systemdict_list",dicttypeId:"QUERY_TERM",order:"level_code"})
  #else
  #modeltag({tagcode:"jxbrms_systemdict_list",dicttypeId:"QUERY_TERM",dictCode:"<> 'bh'",order:"level_code"})
  #end
  #include("/common/layout/tag/select_layout.html",selectid="fieldTerm",selectdata=systemdict_list,dataid="dict_code",dataview="dict_name")
#end
<input type="hidden" value="1" id="queryNum" />
#switch (systemreportfieldinfo.field_type)
#case ("d")
<input jtip='#(systemreportfieldinfo.field_view) 必须是数字" />' jtype="d" type="text" value="" style="width:200px" qtag="termValue" class="form-control"/>
#case ("str")
<input jtype="s" type="text" value="" style="width:200px" qtag="termValue" class="form-control"/>
#case ("ldate","sdate")
<input jtag='#(systemreportfieldinfo.field_view)' jtype="s" class="form-control" type="text" qtag="termView" value="" readonly style="width:120px" 
             onclick="WdatePicker({dateFmt:'#(systemreportfieldinfo.getFieldExt().getTermFmt())',vel:'termValue_#(systemreportfieldinfo.id)',realDateFmt:'#(systemreportfieldinfo.getFieldExt().getRealFmt())'})"  />
<input type="hidden" value="" qtag="termValue" id="termValue_#(systemreportfieldinfo.id)"/>
#case ("dictselect")
#modeltag({tagcode:"jxbrms_systemdict_list",dicttypeId:systemreportfieldinfo.getFieldExt().getSelectCode(),useFlag:"<>0",order:"level_code"})
#include("/common/layout/tag/select_layout.html",selectdata=systemdict_list,dataid=systemreportfieldinfo.getFieldExt().getRealField() ,dataview=systemreportfieldinfo.getFieldExt().getViewField(),selectext="multiple data-placeholder='请选择'",inputid="termValue",inputview="termView",inputidext="qtag='termValue'",inputviewext="qtag='termView'")
#case ("tagselect")
#case ("sqlselect")
#if ((systemreportfieldinfo.fieldExt.uidTerm ?? "")== "")
#jx_list({tagcode:systemreportfieldinfo.getFieldExt().getSelectCode(),ps:"0"})
#else
#jx_list({tagcode:systemreportfieldinfo.getFieldExt().getSelectCode(),ps:"0",where:systemreportfieldinfo.fieldExt.uidTerm,params:user.userId})
#end
#include("/common/layout/tag/select_layout.html",selectdata=prs,dataid=systemreportfieldinfo.getFieldExt().getRealField() ,dataview=systemreportfieldinfo.getFieldExt().getViewField(),selectext="multiple data-placeholder='请选择'",inputid="termValue",inputview="termView",inputidext="qtag='termValue'",inputviewext="qtag='termView'")
#end